<?php

// 订单列表
$router->get('/order/list', ['middleware' => 'managerapi:order-list', 'uses' => 'OrderController@listOrder']);

// 订单详情
$router->get('/order/detail', ['middleware' => 'managerapi:order-detail', 'uses' => 'OrderController@orderDetail']);

// 订单删除
$router->delete('/order/delete', ['middleware' => 'managerapi:order-delete', 'uses' => 'OrderController@deleteOrder']);

// 发货
$router->put('/order/send', ['middleware' => 'managerapi:order-send', 'uses' => 'OrderController@orderSend']);